import { http } from '@/request/index.js'
//设置
export function setdefault(data) {
	return http.post('/personalcenter/setdefaultbank', data)
}
//列表
export function getbanklist(data) {
	return http.post('/personalcenter/getbanklist',data)
}
//添加
export function addbankcard (data) {
	return http.post('/personalcenter/addbankcard',data)
}
//编辑
export function editbankcard (data) {
	return http.post('/personalcenter/editbankcard',data)
}
//删除
export function delbankcard (data) {
	return http.post('/personalcenter/delbankcard',data)
}
//银行编码
export function bankcodelist (data) {
	return http.post('/Withdraw/bankcodelist',data)
}